package com.tianji.learning.jobs;


import com.xxl.job.core.handler.annotation.XxlJob;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class TestJob {
    @XxlJob("helloJob")
    public void sayHello() {
        log.info("hello.........");
    }
}
